package com.hq.shop.api.user.service;

import com.hq.shop.api.user.model.UserEntity;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @ClassName UserService
 * @Description 用户服务
 * @Author huangzl
 * @Date 2018/10/30 19:38
 * @Version 1.0
 **/
@Service
public class UserService {

    public UserEntity getUserInfo(){
        UserEntity user = new UserEntity();
        user.setAge(30);
        user.setBirthDay(new Date());
        user.setUserName("张三");
        user.setId("123");
        return user;
    }
}